-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Apply the builder pattern to OpenAiImageModel
and add support for the new gpt-image-1
model
#2943
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Apply the builder pattern to OpenAiImageModel
and add support for the new gpt-image-1
model
#2943
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
bcb15fe
to
e56583e
Compare
gpt-image-1
gpt-image-1
model
870bb6d
to
f4071fa
Compare
Signed-off-by: jonghoonpark <[email protected]>
f4071fa
to
5e13f09
Compare
gpt-image-1
modelOpenAiImageModel
and add support for the new gpt-image-1
model
Thanks for this! |
What potential issues are anticipated in this regard? Would you like additional test cases for the new options to be added, referring to |
@dev-jonghoonpark I didn't have time to look, just that it touched the same topic/area of the code. @sobychacko was looking into it but we ran into some key permission issues. Will get back to you. soon. |
I just verified with OpenAI, but it is taking a long time to get access. In the meantime I changed the model in the tests to
This is going to lead to confusion, so I think we need to take a step back and look at the design and how to separate out different options for different image models. Possibly just dedicated options classes per model. I had hoped to get this into RC1, but we will have to circle back for a 1.0.1 or other release. Thanks for PR though. |
As mentioned in the text (see Therefore, I set up a new separated test method, |
Summary of Changes
OpenAiImageModel
.gpt-image-1
.background
,moderation
,output_compression
,output_format
Related documentations about the new model:
Points to be aware of during testing (Differences from DALL-E 3):
revised_prompt
field is not included in the response.